package pro.lingwu.station.service;

import pro.lingwu.station.dto.PagesResult;
import pro.lingwu.station.dto.db.Station;

import java.util.List;

/**
 * @author @lingwu
 * @date created in 11/19/2021
 */
public interface StationService {

    void addStation(Station station);

    void rmStation(Long id);

    PagesResult<Station> getAllStations(int start, int size);

    void updateStation(Station station);

    Station findStationById(Long id);

}
